package com.scanner.net;


import com.scanner.bean.AppUpdateInfo;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;


public interface EDAppService {

    @GET
    Observable<HttpResult<AppUpdateInfo>> upDate(@Url String url);



    @Streaming/*大文件需要加入这个判断，防止下载过程中写入到内存中*/
    @GET
    Observable<ResponseBody> download(@Url String url);
}
